﻿using UnityEngine;
using System.Collections;

public class SoundController : MonoBehaviour
{

    // Use this for initialization
    
    static AudioClip jump;
    static Transform camera;
    void Start()
    {
        jump = (AudioClip)Resources.Load("jump");
        camera = transform;
    }
    // Update is called once per frame
    void Update()
    {

    }

    public static void Jump()
    {
        AudioSource.PlayClipAtPoint(jump, camera.position);
    }
}
